using a linear pair to solve for the missing variable